SftTree/OCX 7.0

SftTreeColumn.ProgressColorOrientation Property

Softel vdm, Inc.

Defines the default gradient fill orientation for progress bars in this column.

Syntax       

 

Get

VB.NET

Style = object.ProgressColorOrientation  As SftTreeOrientationConstants

VB

Style = object.ProgressColorOrientation  As SftTreeOrientationConstants

C#.NET

SftTreeOrientationConstants Style = object.ProgressColorOrientation;

VC++

enum SftTreeOrientationConstants Style = object->ProgressColorOrientation;
enum SftTreeOrientationConstants Style = object->GetProgressColorOrientation();

C

HRESULT object->get_ProgressColorOrientation(enum SftTreeOrientationConstants* Style);

Delphi

Style := object.ProgressColorOrientation  : TOleEnum;

Put

VB.NET

object.ProgressColorOrientation = Style  As SftTreeOrientationConstants

VB

object.ProgressColorOrientation = Style  As SftTreeOrientationConstants

C#.NET

SftTreeOrientationConstants object.ProgressColorOrientation = Style;

VC++

enum SftTreeOrientationConstants object->ProgressColorOrientation = Style;
void object->PutProgressColorOrientation(enum SftTreeOrientationConstants Style);

C

HRESULT object->put_ProgressColorOrientation(enum SftTreeOrientationConstants Style);

Delphi

object.ProgressColorOrientation := Style  : TOleEnum;

object

A SftTreeColumn object.

Style

Defines the default gradient fill orientation for progress bars in this column.

Name

Value

Description

horizontalOrientationSftTree

0

Horizontal - The gradient fill orientation is horizontal, starting at the left using Column.ProgressColor and ending at the right edge of the cell using Column.ProgressColorEnd (reversed when using RightToLeft rendering).

verticalOrientationSftTree

1

Vertical - The gradient fill orientation is vertical, starting at the top using Column.ProgressColor and ending at the bottom using Column.ProgressColorEnd.

Comments

The ProgressColorOrientation property defines the default gradient fill orientation for progress bars in this column.

Cells can override the default gradient fill orientation for progress bars using the Cell.ProgressColorOrientation property.

A progress bar is only shown for a cell if its Cell.ProgressMax property is set to a value other than 0.

See Also  SftTreeColumn Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com